package com.example.rightmost.dao;

import com.example.rightmost.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author:javayhch
 * @date:2024/8/17
 * @description:
 */
@Repository
@Mapper
public interface UserMapper {

    User selectUser(User user);

    User selectUserById(Integer id);

    void insertUser(User user);

    int updateInfo(User user);

    List<User> getUserList(User user);

    int deleteUser(Integer id);

    int updateStatus(Integer id);

    List<User> selectAll();
}
